﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace August.UI
{
    public class ShapeBase : WheelBase
    {
        public GraphicsPath DrawGraphicsPath = new GraphicsPath();
        public GraphicsPath MoveGraphicPath = new GraphicsPath();
        public Region DrawRegion = new Region();
        internal Color m_DrawColor = Color.Blue;
        public int DrawLineWidth = 2;
        public static Color ColorMouseDown = Color.Aqua;
        public Color DrawColor = Color.Blue;
        internal bool m_isSelected;
        public Matrix TransForm;
        internal PointF[] m_mouseDownMovePointFs;
        internal PointF m_mouseDownPointF;
        public bool IsUserShape = false;
        internal ShapeBaseCollection _parent;
        public ShapeBaseCollection Parent
        {
            get
            {
                return _parent;
            }
        }

        public virtual void SetPosition(PointF[] pointFs)
        {
            PointFs = pointFs;
        }
    }
}
